This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: SOLVED - Java Plug-in development in Designer 8.5.3: "Access restriction... on Notes.jar"
Feedback Type: Problem
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Always
I am trying to move my plugin development from Eclipse+Expeditor Toolkit to Designer 8.5.3 but have some problems doing so.
First of all I have created a Java Plug-in project in Designer which works with standard Java and Eclipse. When I try to import "lotus.domino.*" classes I get the following error:
"
Access restriction: The type Session is not accessible due to restriction on required library C:\Program Files\IBM\Lotus\Notes\jvm\lib\ext\Notes.jar"
Quick Fix:
Add com.ibm.notes.java.api to required bundles
"
No matter how many times I choose the quick fix Designer just appends this class to the Require-Bundle section in MANIFEST.MF several times and the error does not go away.
What am I missing?
Feedback number WEBB8P3TYM created by ~Juan Bubjipyveretsi on 11/29/2011
Status: Closed
Comments: Forgot all about it until just now...
Preferences->Java Compiler->Errors/Warnings->Forbidden reference (access rules): Error changed to Warning